Travelpayouts\components\model\CollectionModel A

Total Complexity 55
Dependencies 3
Dependents 0
Total lines 317
Lines of code 172
Logical lines of code 91
Comment lines 80
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
updateInternal()
S
58 5 16
getData()
S
61 5 13
getIncrement()
S
62 5 11
setData()
S
57 4 16
save()
S
64 5 10
update()
S
65 4 10
deleteAllByPk()
S
58 2 16
delete()
S
65 3 10
findByColumnValue()
S
66 3 8
assignPrimaryKeyToItem()
S
71 2 6
findAll()
S
67 2 8
findKeyByValue()
S
78 1 3
findByPk()
S
80 1 3
fields()
S
79 1 3
setOldAttributes()
S
81 1 3
setIncrement()
S
81 1 3
rules()
S
75 1 5
findByPrimaryKey()
S
79 1 3
getModel()
S
73 1 5
getCollection()
S
100 1 0
getTotalItemsCount()
S
80 1 3
saveInternal()
S
66 1 8
setCollection()
S
100 1 0
getId()
S
82 1 3
setId()
S
80 1 3
getIsNewRecord()
S
80 1 3